package sy.service;

import java.util.Map;

import sy.pageModel.DataGrid;
import sy.pageModel.OrderGoods;

public interface OrderGoodsServiceI {
	
	public DataGrid datagrid(OrderGoods order) throws Exception;
	
	public DataGrid datagridForAccepted(OrderGoods order) throws Exception;

    public OrderGoods add(OrderGoods order) throws Exception;
    
    public OrderGoods edit(OrderGoods order) throws Exception;
    
    public OrderGoods addDetails(OrderGoods order) throws Exception;
    
    public Map<String, String> getAgenciesByType(String goodsType) throws Exception;
    
    public Map<String, String> getGoodsByAgencyId(String agencyId) throws Exception;
    
    public Map<String, String> getAddressesByCardId(String cardId) throws Exception;

    OrderGoods editGoodsStatus(OrderGoods order);

    OrderGoods saveGoods(OrderGoods order);
}

